package com.itrip.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@ApiModel("添加订单请求参数")
public class OrderAddVO {
    @ApiModelProperty(value = "房间ID",required = true,example = "1")
    private Long roomId;
    @ApiModelProperty(value = "入住时间",required = true,example = "2020-07-30")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date checkInDate;
    @ApiModelProperty(value = "退房时间",required = true,example = "2020-08-02")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date checkOutDate;
    @ApiModelProperty(value = "订单数量",required = true,example = "2")
    private Integer count;
    @ApiModelProperty(value = "入住人",required = true,example = "张三")
    private String linkUserName;
    @ApiModelProperty(value = "联系手机号",required = true,example = "136515642564")
    private String noticePhone;
    @ApiModelProperty(value = "支付金额",required = true,example = "199")
    private Double payAmount;

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public Date getCheckInDate() {
        return checkInDate;
    }

    public void setCheckInDate(Date checkInDate) {
        this.checkInDate = checkInDate;
    }

    public Date getCheckOutDate() {
        return checkOutDate;
    }

    public void setCheckOutDate(Date checkOutDate) {
        this.checkOutDate = checkOutDate;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getLinkUserName() {
        return linkUserName;
    }

    public void setLinkUserName(String linkUserName) {
        this.linkUserName = linkUserName;
    }

    public String getNoticePhone() {
        return noticePhone;
    }

    public void setNoticePhone(String noticePhone) {
        this.noticePhone = noticePhone;
    }

    public Double getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Double payAmount) {
        this.payAmount = payAmount;
    }
}
